package test00.test02;

/**
 * 基于泛型类 - 结合反射
 *
 *
 *
 * @Author lzp
 * @Date 2024-03-29
 */
public class ObjectUtil01<T>{

    /**
     *
     * @param clazz
     * @return
     */
    private T getInstance(Class<T> clazz) throws Exception {
        return clazz.getConstructor().newInstance();
    }

}
